package de.tudarmstadt.ukp.wikisniffer.userstudy.gui.intro;

import java.awt.BorderLayout;
import java.awt.Font;
import java.awt.Panel;
import java.awt.TextArea;
import java.awt.TextField;

import de.tudarmstadt.ukp.wikisniffer.userstudy.gui.AbstractInfoGui;

@SuppressWarnings("serial")
public class SmallTextGui extends AbstractInfoGui {
	
	private String contentText;
	
	public void setText(String text){
		contentText = text;
	}

	@Override
	protected Panel getContentPanel() {
		Panel content = new Panel();
		content.setLayout(new BorderLayout());

		//open questions
		TextField tfWelcome = new TextField();
		tfWelcome.setEditable(false);
		tfWelcome.setFont(new Font("Arial", Font.PLAIN, 18));
		
		tfWelcome.setText(contentText);
		
		content.add(tfWelcome, BorderLayout.CENTER);
		

		return content;
	}

}
